/**
 * @author 陈泰来
 * @version V1.0
 * @Project echo-java-base
 * @Title 示例1：简单工厂
 * @Description *
 * @Package designmodel.factorymodel2.ex1
 * @date 2021/3/6 11:58 上午
 * @Copyright:学如逆水行舟，不进则退 .
 */
package designmodel.factorymodel2.ex1;

import designmodel.factorymodel2.ex1.factory.PizzaStore;
import designmodel.factorymodel2.ex1.model.IPizza;

public class FMTest {


    public static void main(String[] args) {
        IPizza pizza = PizzaStore.orderPizza("cheese");

        System.out.println("披萨好了~" + pizza);
    }
}
